﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CompleteReader.Data
{
    public class NavigationParameter
    {
        public pdftron.PDF.PDFDoc Doc { get; private set; }
        public Windows.Storage.StorageFile File { get; private set; }
        public Windows.Storage.Streams.IRandomAccessStream Stream { get; private set; }
        public bool ReadOnly { get; set; }

        public static bool IsDropBox { get; set; }
        public static bool IsBox { get; set; }
        public static bool IsOneDrive { get; set; }

        public NavigationParameter(pdftron.PDF.PDFDoc doc, Windows.Storage.StorageFile file, Windows.Storage.Streams.IRandomAccessStream stream)
        {
            this.Doc = doc;
            this.File = file;
            this.Stream = stream;
            this.ReadOnly = false;
        }

        public NavigationParameter(pdftron.PDF.PDFDoc doc, Windows.Storage.StorageFile file, Windows.Storage.Streams.IRandomAccessStream stream, bool readOnly)
        {
            this.Doc = doc;
            this.File = file;
            this.Stream = stream;
            this.ReadOnly = readOnly;
        }
    }

    public class NavigateToDocumentsParamerer
    {
        public static bool LastFileInvalid { get; set; }
    }

}
